Making a post type hidden from search engines
To make a custom post type hidden from search engines in WordPress, you can use the 'exclude_from_search' argument when registering the post type. Here's an example of how to do this:
'exclude_from_search' => true,
This will make the custom post type hidden from search results on your website, as well as from search engines like Google.